<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@include file="../../common/includeBaseSet.jsp" %>
<%@include file="../../common/operation_forbid.jsp" %>
<%@include file="../../common/jsVersion.jsp" %>
<!DOCTYPE html >
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>销控详情</title>
    <!-- neptune -->
     <link rel="stylesheet" type="text/css"  href="${jypath}/static/ext/resources/ext-theme-gray/ext-theme-gray-all.css" />
     <script type="text/javascript" src="${jypath}/static/ext/ext-all.js"></script>
	 <script type="text/javascript" src="${jypath}/static/ext/locale/ext-lang-zh_CN.js"></script>
	 <script type="text/javascript" src="${jypath}/static/js/marketing/sellControl/detail.js?v=${jsVersion}"></script> 
	  <script type="text/javascript" src="${jypath}/static/js/jquery/json2.js"></script> 
	 <script type="text/javascript">
	 var id = '${id}';
  	 var idata = '${permitBtn}';
     var returnUrl = '${returnUrl}';
  	 var menu = '${menu}';
  	 var controlType = '${controlType}';
	  	if(idata!=null||idata!=""){
			idata=JSON.parse(idata);
		}
	  	var marketingSellControlCancel = true;
		if(Ext.Array.contains(idata,"marketing:sellControl:cancel")){
			//有效期内而且是未撤控状态下才能显示撤销销控按钮
			if(controlType=="0"){
				marketingSellControlCancel=false;
			}else{
				marketingSellControlCancel=true;
			}
		}
	 </script>
</head>
<body>
</body>
</html>